<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="timo-detail-page">
        <div class="timo-detail-title">基本信息</div>
        <table class="layui-table timo-detail-table">
            <colgroup>
                <col width="100px"><col>
                <col width="100px"><col>
            </colgroup>
            <tbody>
                <tr>
                    <th>数据编号</th>
                    <td th:text="${maintainLog.id}"></td>
                    <th>所属项目</th>
                    <td th:text="${maintainLog.project}"></td>
                </tr>
                <tr>
                    <th>设备编号</th>
                    <td th:text="${maintainLog.deviceNum}"></td>
                    <th>换件列表</th>
                    <td th:text="${maintainLog.partsList}"></td>
                </tr>
                <tr>
                    <th>创建者</th>
                    <td th:text="${maintainLog.createBy?.nickname}"></td>
                    <th>更新者</th>
                    <td th:text="${maintainLog.updateBy?.nickname}"></td>
                </tr>
                <tr>
                    <th>维修时间</th>
                    <td th:text="${#dates.format(maintainLog.createDate, 'yyyy-MM-dd HH:mm:ss')}"></td>
                    <th>更新时间</th>
                    <td th:text="${#dates.format(maintainLog.updateDate, 'yyyy-MM-dd HH:mm:ss')}"></td>
                </tr>
                <tr>
                    <th>维修内容</th>
                    <td th:text="${maintainLog.remark}" colspan="3"></td>
                </tr>
            </tbody>
        </table>
    </div>
<script th:replace="/common/template :: script"></script>
</body>
</html>